package com.ch.fastbuilder.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ java.lang.annotation.ElementType.METHOD,
		java.lang.annotation.ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface Transaction {
	//public String value();

	/*public abstract Propagation propagation();

	public abstract Isolation isolation();

	public abstract int timeout();*/

	public boolean readOnly();
	
	public String DataSource();

	/*public abstract Class<? extends Throwable>[] rollbackFor();

	public abstract String[] rollbackForClassName();

	public abstract Class<? extends Throwable>[] noRollbackFor();

	public abstract String[] noRollbackForClassName();*/
}
